package org.ricks.net.action.rpc;

// RPC错误对象
public class RpcError {
    private int code;
    private String message;

    // 序列化需要的构造器
    public RpcError() {}

    public RpcError(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
